package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallRole;
import com.project.mall.bean.generator.CskaoyanmallRoleExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallRoleMapper {
    long countByExample(CskaoyanmallRoleExample example);

    int deleteByExample(CskaoyanmallRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallRole record);

    int insertSelective(CskaoyanmallRole record);

    List<CskaoyanmallRole> selectByExample(CskaoyanmallRoleExample example);

    CskaoyanmallRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallRole record, @Param("example") CskaoyanmallRoleExample example);

    int updateByExample(@Param("record") CskaoyanmallRole record, @Param("example") CskaoyanmallRoleExample example);

    int updateByPrimaryKeySelective(CskaoyanmallRole record);

    int updateByPrimaryKey(CskaoyanmallRole record);
}